<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2014 OpenPlans - www.openplans.org. All rights reserved.
This code is licensed under the GPL 2.0 license, available at the root application directory.
 -->
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>

	<bean id="esXStreamInitializer" class="org.geoserver.elasticsearch.ElasticXStreamInitializer" />
	
	<bean id="esFeatureTypeCallback" class="org.geoserver.elasticsearch.ElasticFeatureTypeCallback" />

	<bean id="esConfigPanel" class="org.geoserver.elasticsearch.ElasticConfigurationPanelInfo">
		<property name="id" value="elastic" />
		<property name="titleKey" value="data.resource.config.elasticsearch" />
		<property name="componentClass" value="org.geoserver.elasticsearch.ElasticConfigurationPanel" />
		<property name="supportedTypes">
			<list>
				<value>Elasticsearch</value>
			</list>
		</property>
	</bean>

	<bean id="ElasticXStreamPersisterInitializer" class="org.geoserver.elasticsearch.ElasticXStreamPersisterInitializer"/>

</beans>
